//
//  User.h
//  MVP4
//
//  Created by 李煜 on 2024/6/21.
//

#import <Foundation/Foundation.h>

@interface User : NSObject

@property (nonatomic, strong) NSString *firstName;
@property (nonatomic, strong) NSString *lastName;
@property (nonatomic, strong) NSString *email;
@property (nonatomic, assign) int age;

// 类方法构造对象
+ (User *)userWithFirstName:(NSString *)firstName
                   lastName:(NSString *)lastName
                      email:(NSString *)email
                        age:(int)age;

@end
